<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
      <title>后台管理-登陆</title>
      <link rel="stylesheet" href="js/plugins/layui/css/layui.css">
      <link rel="stylesheet" href="css/login.css">
      <script src="js/plugins/jquery/jquery-1.12.4.min.js"></script>
  </head>
  <body>
  <div id="container">
      <div></div>
      <div class="admin-login-background">
          <!--<div class="admin-header">-->
          <!--<img src="image/ex_logo.png" class="admin-logo">-->
          <!--</div>-->
         <div class="admin-header">
             <h2>XXX用户登录</h2>
             <h1 style="color: red;font-size: 15px;">${loginMsg}</h1>
          </div>
          <form class="layui-form" onsubmit="return checkBeforeSubmit()" action="/loginIn" method="post">
              <div>
                  <i class="layui-icon layui-icon-username admin-icon admin-icon-username"></i>
                  <input id="username" type="text" name="username" placeholder="请输入用户名"
                         autocomplete="off"
                         class="layui-input admin-input admin-input-username">
              </div>
              <div>
                  <i class="layui-icon layui-icon-password admin-icon admin-icon-password"></i>
                  <input id="password" type="password" name="password"
                         placeholder="请输入密码"
                         autocomplete="off"
                         class="layui-input admin-input">
              </div>
              <div>
                  <input id="verify" type="text" name="verify"
                         placeholder="请输入验证码"
                         autocomplete="off"
                         class="layui-input admin-input admin-input-verify">
                  <a href="javascript:void(0);" rel="external nofollow" title="点击更换验证码">
                  <img class="admin-captcha" src="/getVerify?_d=1111111"
                       onclick="updateVerify(this)">
                  </a>
              </div>
              <button class="layui-btn admin-button" lay-submit lay-filter="formDemo">登陆</button>


          </form>
      </div>
  </div>
  <script src="js/plugins/layui/layui.all.js"></script>
  <script type="text/javascript">
      var baseUrl = "<%=basePath%>";
  </script>
  <script type="text/javascript" src="js/login.js"></script>
  </body>
</html>
